home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Remove from TMap
- Sent: 6/14/96 4:01 AM
- Received: 6/14/96 9:17 AM
- From: Jim Lloyd, jim@melongem.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 11:09 AM 6/14/96, Steinar.Tyvand@si.sintef.no wrote:
- >Thank You for a dissapointing answer!
- >
- >Can I subclass the TMap in some way to add a remove function?
-
- No, unfortunately you can't do it without modifying ODFLibrary (which you
- must not do!). You might instead copy the source code from
- SLSrtArr.[h,cpp] and FWTMap.[h,tpp], and rename all the functions and
- template classes. You can then add a new function to your renamed SLSrtArr
- functions, and call that function from your renamed FW_TMap. If you decide
- to do this, and a little bit of template code bloat is not an issue to you,
- you might want to merge all of the code into one template class. Instead
- of calling SLSrtArr functions from FW_TMap, simply copy the code from these
- functions into your renamed FW_TMap.
-
- Jim Lloyd
-
-
-